import request from "@/utils/request.js";

// 获取地图数据
export const getMapData = () => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/mapData',
        isEncrypt: false
    })
}

// 获取办案区统计状态图
export const getPoliceAreaStatus = (data) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/jwApplyCount',
        params: data,
        isEncrypt: false
    })
}

// 获取检察为民服务状态图
export const getPoliceServiceStatus = (data) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/jwCheckInLoginCount',
        params: data,
        isEncrypt: false
    })
}

// 获取机关安保状态图
export const getPoliceSecurityStatus = (data) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JWScheduleCount',
        params: data,
        isEncrypt: false
    })
}

// 获取履职数量的状态图
export const getPolicePerformanceStatus = (data) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/JwSendPoliceCount',
        params: data,
        isEncrypt: false
    })
}